Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the cli parser for the --redeemer-value --execution-units flags #2811

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

dcoutts
Copy link
Contributor

@dcoutts dcoutts commented Jun 10, 2021

The cli parser apparently cannot cope with the same flag name being
reused in different contexts, so fix it by prefix these flags with the
context, so instead of just --redeemer-file or --redeemer-value, it's
--tx-in-redeemer-file or --tx-in-redeemer-value.

Similarly for --mint-redeemer-value --mint-execution-units etc.

The cli parser apparently cannot cope with the same flag name being
reused in different contexts, so fix it by prefix these flags with the
context, so instead of just --redeemer-file or --redeemer-value, it's
--tx-in-redeemer-file or --tx-in-redeemer-value.

Similarly for --mint-redeemer-value --mint-execution-units etc.
@Jimbo4350
Copy link
Contributor

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 10, 2021

@iohk-bors iohk-bors bot merged commit 501d3ae into master Jun 10, 2021
@iohk-bors iohk-bors bot deleted the dcoutts/cli-script-flags-fix branch June 10, 2021 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants